package com.wxg.guice;

import com.google.inject.Inject;

public class Person {

	private Mobile mobile;
	private Laptop laptop;
	
	@Inject
	public Person(Mobile mobile, Laptop laptop) {
		this.mobile = mobile;
		this.laptop = laptop;
	}
	
	public void displayInfo(){
		System.out.println( "Mobile: " + mobile );
		System.out.println( "Laptop: " + laptop );
	}
}
